package day20171101;

/**
 * Created by Administrator on 2017-11-1.
 */
public class ExceptionTest {

    public static void main(String[] args) {


        System.out.println("hello!");

        try {

            System.out.println(6 / 0);

        } catch (Exception e) {

            System.out.println("除数为0！");

        }


        System.out.println("world!");


    }
}
